package com.dci.controller.project;

import com.dci.model.project.ProjectInfo;
import com.dci.result.JsonData;
import com.dci.service.project.ProjectInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


/**
 * All rights Reserved, Designed By 姑苏区政府大数据中心
 *
 * @version V1.0
 * @Title: null.java
 * @Package com.dci.controller.project
 * @Description: 建设单位业务录入
 * @author: njj
 * @date: 2019/2/25
 * @Copyright: 2019 姑苏区政府大数据中心. All rights reserved.
 * 注意：本内容仅限于姑苏区政府大数据中心内部传阅，禁止外泄以及用于其他的商业目
 */
@Controller
@RequestMapping("/luyou")
public class PmsLuyouController {

    @Resource
    private ProjectInfoService projectInfoService;

    @Value("${upload.urlPath}")
    private String path;

    /**
     *
     *提供路由
     * @return ResultInfo 封装的返回参数  保存成功msg:906 保存失败msg:911
     */
    @GetMapping(value = "/save")
    @ResponseBody
    @ApiOperation("路由")
    public String save() {
        return path;
    }

}
